const defaultState = {
    login: false
};

export default (state = defaultState, action) => {
    switch (action.type){
        case actionTypes.CHANGE_LOGIN_STATUS:
        return state.set('login', true)
        default:
        return state
    }
}